#include "collectionswitcherwid.h"

collectionSwitcherWid::collectionSwitcherWid(QString icon)
{
    pix = new QPixmap(QString(QApplication::applicationDirPath() + "/themes" + icon));
    this->setPixmap(*pix);
}

void collectionSwitcherWid::mousePressEvent ( QGraphicsSceneMouseEvent * event )
{
        emit collectionSwitcherPressed();
        qDebug() << "Event => collectionSwitcherPressed()";
}
